package cn.lyjuan.payment.third.http.api.vo.req;

import cn.lyjuan.payment.third.base.common.enums.impl.ChlEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * @author arvin
 * desc payment-third cn.lyjuan.payment.third.http.api.vo.req
 * 2021/3/16 14:26
 */
@ApiModel("授权数据")
public class AuthReqVo {

    @ApiModelProperty(value = "应用ID", required = true)
    @NotNull
    private Integer appId;

    @ApiModelProperty(value = "支付渠道", required = true)
    @NotNull
    private ChlEnum chlType;

    @ApiModelProperty(value = "授权码")
    @NotNull
    private String authCode;

    @ApiModelProperty("MD5 32位签名")
    @NotNull
    private String sign;

    public Integer getAppId() {
        return appId;
    }

    public void setAppId(Integer appId) {
        this.appId = appId;
    }

    public ChlEnum getChlType() {
        return chlType;
    }

    public void setChlType(ChlEnum chlType) {
        this.chlType = chlType;
    }

    public String getAuthCode() {
        return authCode;
    }

    public void setAuthCode(String authCode) {
        this.authCode = authCode;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    @Override
    public String toString() {
        return "OrderReq{" +
                "appId=" + appId +
                ", chlType=" + chlType +
                ", authCode=" + authCode +
                ", sign='" + sign + '\'' +
                '}';
    }
}
